/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package za.ac.cput.DesignPatterns.structural.facade;

/**
 *
 * @author Nashief
 */
public class Facade {
 
    public int cubeX(int x){
    Class1 class1= new Class1();
    return class1.doSomethingComplicated(x);
    } 
    public int cubeXtimes2(int x){
    Class1 c1= new Class1();
    Class2 class2= new Class2();
    return class2.doAnotherThing(c1, x);
    } 
    public int xToSixthPowertimes2(int x){
    Class1 c1= new Class1(); 
    Class2 c2= new Class2(); 
    Class3 c3= new Class3();  
    return c3.doMoreStuff(c1, c2, x);
    }
}
